.zodiac_wrap {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 40px;
  // overflow-y: scroll;
  background: #4a43f5 url('../../../images/zodiac/bg.png') no-repeat;
  background-size: cover;
  background-position: bottom;
  position: relative;

  .top_content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 43px;

    .title {
      width: 251px;
      height: 61px;
      background: url('../../../images/zodiac/title_img.png') no-repeat;
      background-size: cover;
      margin: 0 12px;
    }

    .circle {
      width: 28px;
      height: 28px;
      line-height: 28px;
      color: #fff;
      text-align: center;
      background: rgba(#fff, 0.1);
      border-radius: 50%;
      font-size: 12px;
      margin-top: 8px;

      span {
        display: inline-block;
        transform: scale(0.9);
      }
    }
  }

  .prograss_wrap {
    position: absolute;
    left: -62px;
    top: 226px;
    transform: rotate(-90deg);
    height: 200px;
  }
  .prograss {
    min-height: 32px;
    // margin: 8px 0 16px 0;
    position: relative;
    .bar {
      z-index: 1;
      width: 355px;
      height: 14px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      box-shadow: 0px 0px 9px 0px rgba(255, 255, 255, 0.45) inset;
    }
    .txt {
      position: absolute;
      bottom: 5px;
      left: 32px;
      width: 10px;
      height: 42px;
      background: url('../../../images/zodiac/love_txt.png') no-repeat;
      background-size: contain;
      z-index: 10;
      transform: rotate(90deg);
    }
    .score {
      z-index: 3;
      position: absolute;
      top: 0;
      left: 0;
      height: 14px;
      background: linear-gradient(180deg, #65fd90 2.05%, #fdf665 100%);
      border-radius: 10px;
    }
  }

  .zodiac_content {
    overflow-y: scroll;
    margin-left: 44px;
    margin-top: 32px;
    .items {
      padding: 20px 0;
      min-width: 155%;
      // height: 320px;
      display: flex;
      flex-wrap: wrap;
    }

    .item {
      margin-right: 25px;
      width: 140px;
      height: 166px;
      position: relative;
      .img {
        width: 75%;
        margin: 26px 0 0 20px;
        font-size: 0;
        position: absolute;
        top: 0;
        z-index: 0;
      }

      .talk {
        position: absolute;
        top: -15px;
        right: -20px;
        width: 127px;
        height: 30px;
        line-height: 24px;
        background: url('../../../images/zodiac/talk_bg.png') no-repeat;
        background-size: contain;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
        z-index: 10;
      }

      .glass {
        width: 100%;
        height: 149px;
        background: url('../../../images/zodiac/mask_top.png') no-repeat;
        background-size: cover;
        margin-left: 2px;
        z-index: 30;
      }

      .yun {
        width: 100%;
        height: 46px;
        background: url('../../../images/zodiac/yun.png') no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 2;
        position: absolute;
        // transform: translateX(-50%);
        // left: 50%;
        bottom: 10px;
      }

      .base {
        position: absolute;
        bottom: 12px;
        width: 103px;
        height: 27px;
        background: url('../../../images/zodiac/mask_bottom.png') no-repeat;
        background-size: cover;
        z-index: 1;
        transform: translateX(-50%);
        left: 50%;
      }

      .base2 {
        background: rgba(#fff, 0.3);
        border-radius: 8px;
        width: 102px;
        height: 14px;
        position: absolute;
        bottom: 2px;
        z-index: 0;
        transform: translateX(-50%);
        left: 50%;
      }

      &.border::after {
        width: 136px;
        height: 164px;
        background: url('../../../images/zodiac/border.png') no-repeat;
        background-size: 100% 100%;
        // background-position: center center;
        position: absolute;
        top: 4px;
        left: 3px;
        content: '';
        z-index: 4;
      }

      &:nth-of-type(3n) {
        margin-top: 35px;
      }

      &:nth-of-type(1) {
        margin-top: 35px;
      }

      &:nth-of-type(4) {
        margin-top: 35px;
      }
    }
  }

  .btn_group {
    position: fixed;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;

    .btn {
      width: 140px;
      height: 42px;
      background: url('../../../images/zodiac/btn_bg.png') no-repeat;
      background-size: cover;
      position: relative;
      .money {
        width: 66px;
        height: 28px;
        background: url('../../../images/zodiac/money_bg.png') no-repeat;
        background-size: contain;
        position: absolute;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 40;
        font-size: 12px;
        color: #5cff69;
        display: flex;
        justify-content: center;
        align-items: start;
        padding-top: 6px;
        .icon {
          width: 16px;
          height: 12px;
          background: url('../../../images/coin_icon.png') no-repeat;
          background-size: contain;
        }
      }
      &:last-of-type {
        background:
          url('../../../images/zodiac/btn_10.png') no-repeat center 10px,
          url('../../../images/zodiac/btn_bg.png') no-repeat center;
        background-size:
          68px 18px,
          cover;
      }
      &:first-of-type {
        margin-right: 30px;
        background:
          url('../../../images/zodiac/btn_1.png') no-repeat center 10px,
          url('../../../images/zodiac/btn_bg.png') no-repeat center;
        background-size:
          68px 18px,
          cover;
      }
    }
  }

  .gift_modal {
    .adm-space {
      display: none;
    }

    .adm-modal-body {
      box-sizing: border-box;
      padding: 6px;
      width: 290px;
      height: 400px;
      border-radius: 18px;
      background: url('../../../images/zodiac/reward_bg.png') no-repeat;
      background-size: contain;

      // position: relative;
      .adm-modal-content {
        padding: 0;
        max-height: 290px;
        border-radius: 18px;
        box-sizing: border-box;
        // background: linear-gradient(180deg, #FFB4B4 0%, #FFE2E2 117.61%);
      }

      .gift_data {
        padding: 0;
        margin: 8px;
        box-sizing: border-box;
        border-radius: 18px;
        // background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 118.66%);
      }

      //   .gift_box_img {
      //     width: 144px;
      //     height: 144px;
      //     position: absolute;
      //     top: -42px;
      //     right: -14px;
      //     background: url("../../../images/valentine/gif_box.png") no-repeat;
      //     background-size: cover;
      //   }
      .gift_data {
        padding: 0.1px;

        // height: 100%;
        .tips {
          font-size: 12px;
          color: #fff;
          font-weight: 400;
          text-align: center;
        }

        .box_tit {
          overflow: hidden;
          width: 96px;
          height: 30px;
          margin: 85px auto 0;
          background: url('../../../images/zodiac/reward_box_tit.png') no-repeat;
          background-size: contain;
        }

        .price {
          // margin: 0 0 0 19px;
          color: #fdf564;
          font-size: 12px;
          font-weight: 400;
          text-align: center;
        }

        .gift_list {
          margin: 0px 40px 0 40px;

          // display: flex;
          // flex-wrap: wrap;
          .item {
            display: inline-flex;
            flex-direction: column;
            width: 63px;
            text-align: center;
            color: #fff;
            font-size: 12px;
            position: relative;
            margin-right: 16px;
            margin-bottom: 10px;

            &:nth-of-type(3n) {
              margin-right: 0;
            }

            .nums {
              font-size: 12px;
              color: #fff;
              background-color: #ff6d6d;
              border-radius: 6px 6px 6px 0;
              padding: 2px 4px;
              position: absolute;
              right: -6px;
            }

            img {
              width: 100%;
              //   max-height: 63px;
              // height: 100;
              font-size: 0;
              margin-bottom: 6px;
            }

            .item_price {
              color: #fdf564;
              font-size: 12px;
              // height: 12px;
              font-weight: 500;
              transform: scale(0.85);
              text-align: center;
            }
          }

          //   &.item_1 {
          //     display: flex;
          //     align-items: center;
          //     .item {
          //       width: 121px;
          //       margin: 0 auto;
          //     }
          //   }
          //   &.item_2 {
          //     display: flex;
          //     justify-content: space-between;
          //     margin: 40px 34px 0 30px;
          //     .item {
          //       width: 95px;
          //     }
          //   }
        }
      }
    }

    &.long_wrap {
      .adm-modal-body {
        // height: 80vh;
        height: 400px;

        // background: url("../../../images/valentine/long_gift_bg.png") no-repeat;
        // background-size: 100%;
        // position: relative;
        .adm-modal-content {
          max-height: 400px;

          // overflow: hidden;
          .gift_data {
            // height: 303px;
            // height: 390px;
            // overflow-y: hidden;
          }
        }

        .gift_list {
          margin: 6px 20px 0 20px;
          height: 26vh;
          overflow-y: scroll;

          .item {
            min-height: 90px;
          }
        }
      }
    }

    &.special_reward {
      .adm-modal-content {
        min-height: 100%;
        overflow: hidden;
      }
      .adm-modal-body {
        // background: url("../../../images/valentine/special_bg.png") no-repeat;
        // background-size: cover;
        .gift_data {
          .box_tit {
            background: url('../../../images/zodiac/reward_box_tit2.png') no-repeat;
            background-size: contain;
          }
          .tips {
            display: none;
          }
          .item {
            width: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            img {
              width: 130px;
              height: 130px;
              padding-top: 26px;
            }
            .name {
              font-size: 16px;
              font-weight: 500;
            }
            .item_price {
              font-size: 16px;
              font-weight: 500;
            }
          }
        }
      }
    }
  }

  .record_modal {
    .adm-modal-body {
      box-sizing: border-box;
      padding: 6px;
      width: 287px;
      height: 410px;
      background: url('../../../images/zodiac/modal_bg.png') no-repeat;
      background-size: contain;
    }
  }

  .record {
    min-height: 200px;
    color: #fff;
    padding-top: 10px;

    // background-size: 130px 99px;
    // background-position: right bottom 20px;

    // min-height: 380px;
    .title,
    .tit {
      text-align: center;
      font-size: 16px;
      font-weight: 500;
      padding-bottom: 6px;
    }

    .list {
      height: 39vh;
      box-sizing: border-box;
      overflow-y: scroll;

      .item_data {
        margin-bottom: 12px;
      }

      .item {
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;

        .info {
          .name {
            font-size: 14px;
            line-height: 20px;
          }
        }

        .time,
        .note {
          color: #fff;
          opacity: 0.6;
          font-size: 12px;
          transform: scale(0.86);
          margin-left: -4px;
        }

        .note {
          text-align: right;
          width: 90px;
        }
      }

      .more_note {
        margin-top: 4px;
        color: #fff;
        opacity: 0.6;
        line-height: 20px;
        padding: 12px;
        font-size: 12px;
        box-sizing: border-box;
        background: rgba(#fff, 0.2);
        border-radius: 20px 0 20px 20px;
      }

      .con {
        margin-top: 20px;

        img {
          width: 100%;
        }
      }
    }
  }

  .other {
    .adm-center-popup-wrap {
      min-width: 300px;
    }

    .adm-modal-body {
      box-sizing: border-box;
      width: 300px;
      height: 142px;
      background: url('../../../images/zodiac/modal_bg2.png') no-repeat;
      background-size: contain;

      .word {
        margin-top: 12px;
        font-size: 18px;
        text-align: center;
        color: #fff;
      }

      .btns {
        display: flex;
        justify-content: space-between;
        margin: 20px 28px 0;

        .btn {
          width: 94px;
          height: 42px;
          line-height: 38px;
          background: url('../../../images/zodiac/btn4.png') no-repeat;
          background-size: contain;
          color: #fff;
          text-align: center;
          font-weight: 600;

          &.confirm {
            background: url('../../../images/zodiac/btn3.png') no-repeat;
            background-size: contain;
            color: #e0631a;
          }
        }
      }
    }
  }

  ::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
  }

  .special_reward {
    width: 285px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .txt {
      width: 100%;
      height: 66px;
      background: url('../../../images/zodiac/special_awards_text.png') no-repeat;
      background-size: contain;
      background-position: center;
    }
    .img {
      width: 100%;
      background: url('../../../images/valentine/special_award_img.png') no-repeat;
      background-size: contain;
      height: 280px;
    }
    .btn {
      width: 140px;
      height: 42px;
      background: url('../../../images/zodiac/btn_bg.png') no-repeat;
      background-size: contain;

      color: #e0631a;
      font-size: 16px;
      text-align: center;
      font-weight: 600;
      line-height: 36px;
    }
  }
}
